package cn.com.coding.system.service;

import cn.com.coding.common.utils.PageUtil;
import cn.com.coding.system.domin.SysUserEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * @author mxz
 */
public interface SysUserService extends IService<SysUserEntity> {

    PageUtil queryPage(Map<String, Object> params);

    SysUserEntity getByUserName(String username);

    String getUserAuthorityInfo(String userId);

    void clearUserAuthorityInfo(String username );

    void clearUserAuthorityInfoByRolePid(String rolePid);

    void clearUserAuthorityInfoByMenuPid(String menuPid );

    SysUserEntity selectByUserNameAndPassWord(String username, String password);

    List<String> getNavMenuPids(String userPid);
}

